var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); /* PrognRoll | https://mburakerman.github.io/prognroll/ | @mburakerman | License: MIT */ (function ($) { $.fn.prognroll = function (options) { var settings = $.extend({ height: 5, // progress bar height color: "#50bcb6", // progress bar background color custom: false // if you make it true, you can add your custom div and see it's scroll progress on the page }, options); return this.each(function () { if ($(this).data('prognroll')) { return false; } $(this).data('prognroll', true); var progressBar = $("", { class: "prognroll-bar" }); $("body").prepend(progressBar); progressBar.css({ position: "fixed", top: 0, left: 0, width: 0, height: settings.height, backgroundColor: settings.color, zIndex: 2147483647 }); var globals = { "progressBar": $(".prognroll-bar"), "windowScrollTop": $(window).scrollTop(), "windowOuterHeight": $(window).outerHeight(), "bodyHeight": $(document).height() } function bindWindowScroll() { $(window).scroll(function (e) { e.preventDefault(); globals.windowScrollTop = $(window).scrollTop(); globals.windowOuterHeight = $(window).outerHeight(); globals.bodyHeight = $(document).height(); var total = (globals.windowScrollTop / (globals.bodyHeight - globals.windowOuterHeight)) * 100; globals.progressBar.css("width", total + "%"); }); } if (settings.custom === false) { bindWindowScroll(); } else { // if el has no max-height set if ($(this).css("max-height") == "none") { bindWindowScroll(); } else { $(this).scroll(function (e) { e.preventDefault(); var customScrollTop = $(this).scrollTop(); var customOuterHeight = $(this).outerHeight(); var customScrollHeight = $(this).prop("scrollHeight"); var total = (customScrollTop / (customScrollHeight - customOuterHeight)) * 100; globals.progressBar.css("width", total + "%"); }); } } // get scroll position on on page load var total = (globals.windowScrollTop / (globals.bodyHeight - globals.windowOuterHeight)) * 100; globals.progressBar.css("width", total + "%"); }); }; })(jQuery); } /* FILE ARCHIVED ON 23:52:54 Mar 06, 2022 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 07:36:25 Sep 04, 2023. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): captures_list: 85.048 exclusion.robots: 0.08 exclusion.robots.policy: 0.07 cdx.remote: 0.06 esindex: 0.009 LoadShardBlock: 34.364 (3) PetaboxLoader3.datanode: 54.946 (4) load_resource: 140.045 PetaboxLoader3.resolve: 98.51 */